<?/*posts:viewurl,id,title,posttext*/?>
<div class='blogposts'>
<?
	foreach($data['posts'] as $blogpost) {
?>
	<div class='blogpost'>
		<span class='blogpost_link'><a href="<?=$data['viewurl']?>" id='<?=$blogpost["id"]?>'><?=$blogpost["title"]?></a></span>
		  <div class='blogpost_text'><?=$blogpost["posttext"]?></div>
	</div>
<?
	}
?>
</div>